package org.dey.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.dey.pojo.Assessment;
import org.dey.pojo.PageVo;

public interface AssessmentService extends IService<Assessment> {
    //查
    public PageVo<Assessment> queryAssessment(Assessment assessment,int pageNum, int pageSize);

    //添加
    public int insertAssessment(Assessment assessment);

    //删除
    public int deleteAssessment(int id);

    //修改前先根据id查到该数据
    public Assessment queryAssessmentByid(int id);

    //根据id修改
    public int updateAssessment(Assessment assessment);
}
